#ifndef CART_ITEM_H_
#define CART_ITEM_H_

#include <string>
using namespace std;


struct Cart_item {
public:
	// constructors
	//Cart_item () {}
	
	Cart_item (int c_item, int c_id, int p_id, int p_qty)   //RNJ
			: cart_item_id(c_item), cart_id(c_id), prod_id(p_id), prod_qty(p_qty) {}  //RNJ

   // utility functions
	string display() const;
	
	int get_cart_id() const{		//RF S2 down to line 29
		return cart_id;
	}
	
	int get_prod_id() const{
		return prod_id;
	}
	
	int get_prod_qty() const{
		return prod_qty;
	}								//RF S2

private:
   //constants  

   // private data
	int cart_item_id;
	int cart_id;
	int prod_id;
	int prod_qty;
};


#endif //CART_ITEM_H_
